import request from '@/utils/request'

export function upgradeComponent(data) {
  return request({
    url: '/rangeBuild/buildTask/upgradeComponent',
    method: 'post',
    data
  })
}

export function oneKeyPack(data) {
  return request({
    url: '/rangeBuild/buildTask/oneKeyPack',
    method: 'post',
    params: data
  })
}

export function getOnePackRecords(data) {
  return request({
    url: '/rangeBuild/buildTask/getOnePackRecords',
    method: 'get',
    params: data
  })
}
